<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: EATT</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__gatt__eatt__functions.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">EATT<div class="ingroups"><a class="el" href="group__wicedbt__gatt.html">Generic Attribute (GATT)</a> &raquo; <a class="el" href="group__gatt__common__api.html">Connection API</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>EATT API. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae2b1a3d89f1566aae6293379eb38c530"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gatt__eatt__functions.html#gae2b1a3d89f1566aae6293379eb38c530">wiced_bt_gatt_eatt_register</a> (<a class="el" href="structwiced__bt__gatt__eatt__callbacks__t.html">wiced_bt_gatt_eatt_callbacks_t</a> *p_gatt_cback, uint32_t max_eatt_bearers)</td></tr>
<tr class="memdesc:gae2b1a3d89f1566aae6293379eb38c530"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register an application callback for GATT.  <a href="#gae2b1a3d89f1566aae6293379eb38c530">More...</a><br /></td></tr>
<tr class="separator:gae2b1a3d89f1566aae6293379eb38c530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76d7ec594e89f33248363453d65978cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gatt__eatt__functions.html#ga76d7ec594e89f33248363453d65978cf">wiced_bt_gatt_eatt_connect</a> (uint16_t legacy_conn_id, uint32_t mtu, uint32_t mps, uint32_t num_bearers, <a class="el" href="group__wicedbt__gatt.html#gaccfa49f84e56ea41ab53e943e2e5acc6">wiced_bt_eatt_drbs</a> ppDRBs, <a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf">wiced_bt_gatt_eatt_conn_id_list</a> conn_id_list_out)</td></tr>
<tr class="memdesc:ga76d7ec594e89f33248363453d65978cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to create the enhanced gatt channels, using the legacy/unenhanced connection id.  <a href="#ga76d7ec594e89f33248363453d65978cf">More...</a><br /></td></tr>
<tr class="separator:ga76d7ec594e89f33248363453d65978cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga085bfe9e5516f2029ba398cfd37b97f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gatt__eatt__functions.html#ga085bfe9e5516f2029ba398cfd37b97f9">wiced_bt_gatt_eatt_connect_response</a> (<a class="el" href="structwiced__bt__gatt__eatt__connection__indication__event__t.html">wiced_bt_gatt_eatt_connection_indication_event_t</a> *p_indication, <a class="el" href="structwiced__bt__gatt__eatt__connection__response__t.html">wiced_bt_gatt_eatt_connection_response_t</a> *p_response, <a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf">wiced_bt_gatt_eatt_conn_id_list</a> conn_id_list_out)</td></tr>
<tr class="memdesc:ga085bfe9e5516f2029ba398cfd37b97f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to create the respond to the enhanced gatt channels connection indication.  <a href="#ga085bfe9e5516f2029ba398cfd37b97f9">More...</a><br /></td></tr>
<tr class="separator:ga085bfe9e5516f2029ba398cfd37b97f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83db0a97904230b45db1025f1d89d3ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gatt__eatt__functions.html#ga83db0a97904230b45db1025f1d89d3ec">wiced_bt_gatt_eatt_reconfigure</a> (<a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf">wiced_bt_gatt_eatt_conn_id_list</a> conn_id_list, uint32_t num_bearers, uint32_t mtu, uint32_t mps, <a class="el" href="group__wicedbt__gatt.html#gaccfa49f84e56ea41ab53e943e2e5acc6">wiced_bt_eatt_drbs</a> ppDRBs)</td></tr>
<tr class="memdesc:ga83db0a97904230b45db1025f1d89d3ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">API the reconfigure the enhanced gatt channels.  <a href="#ga83db0a97904230b45db1025f1d89d3ec">More...</a><br /></td></tr>
<tr class="separator:ga83db0a97904230b45db1025f1d89d3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="gae2b1a3d89f1566aae6293379eb38c530"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2b1a3d89f1566aae6293379eb38c530">&#9670;&nbsp;</a></span>wiced_bt_gatt_eatt_register()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t wiced_bt_gatt_eatt_register </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__bt__gatt__eatt__callbacks__t.html">wiced_bt_gatt_eatt_callbacks_t</a> *&#160;</td>
          <td class="paramname"><em>p_gatt_cback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>max_eatt_bearers</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register an application callback for GATT. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_gatt_cback</td><td>: The GATT notification callback </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">max_eatt_bearers</td><td>: Total number of gatt bearers allowed across all devices (legacy + eatt)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of (legacy + eatt) bearers allocated </dd></dl>

</div>
</div>
<a id="ga76d7ec594e89f33248363453d65978cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga76d7ec594e89f33248363453d65978cf">&#9670;&nbsp;</a></span>wiced_bt_gatt_eatt_connect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_gatt_eatt_connect </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>legacy_conn_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>num_bearers</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt__gatt.html#gaccfa49f84e56ea41ab53e943e2e5acc6">wiced_bt_eatt_drbs</a>&#160;</td>
          <td class="paramname"><em>ppDRBs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf">wiced_bt_gatt_eatt_conn_id_list</a>&#160;</td>
          <td class="paramname"><em>conn_id_list_out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>API to create the enhanced gatt channels, using the legacy/unenhanced connection id. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">legacy_conn_id</td><td>: GATT DB characteristic handle </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mtu</td><td>: EATT bearer Maximum Transmission Unit </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mps</td><td>: EATT bearer Maximum PDU Payload Size </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num_bearers</td><td>: Number of EATT bearers to be established in this call </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ppDRBs</td><td>: Data Receive Buffers, each of MTU size for each of the bearers to be established </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">conn_id_list_out</td><td>: Connection Ids created for the EATT bearers</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310" title="AIROC result.">wiced_result_t</a> </dd></dl>

</div>
</div>
<a id="ga085bfe9e5516f2029ba398cfd37b97f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga085bfe9e5516f2029ba398cfd37b97f9">&#9670;&nbsp;</a></span>wiced_bt_gatt_eatt_connect_response()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_gatt_eatt_connect_response </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__bt__gatt__eatt__connection__indication__event__t.html">wiced_bt_gatt_eatt_connection_indication_event_t</a> *&#160;</td>
          <td class="paramname"><em>p_indication</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__gatt__eatt__connection__response__t.html">wiced_bt_gatt_eatt_connection_response_t</a> *&#160;</td>
          <td class="paramname"><em>p_response</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf">wiced_bt_gatt_eatt_conn_id_list</a>&#160;</td>
          <td class="paramname"><em>conn_id_list_out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>API to create the respond to the enhanced gatt channels connection indication. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_indication</td><td>: <a class="el" href="structwiced__bt__gatt__eatt__connection__indication__event__t.html" title="GATT connection request (used by GATT_EATT_CONNECTION_INDICATION_EVT notification) To be returned by ...">wiced_bt_gatt_eatt_connection_indication_event_t</a> received in <a class="el" href="structwiced__bt__gatt__eatt__callbacks__t.html" title="callbacks for GATT EATT event notifications">wiced_bt_gatt_eatt_callbacks_t</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_response</td><td>: <a class="el" href="structwiced__bt__gatt__eatt__connection__response__t.html" title="structure to be used to respond to received EATT connection request">wiced_bt_gatt_eatt_connection_response_t</a> response data sent by the receiver of <a class="el" href="structwiced__bt__gatt__eatt__callbacks__t.html" title="callbacks for GATT EATT event notifications">wiced_bt_gatt_eatt_callbacks_t</a> </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">conn_id_list_out</td><td>: Connection Ids created for the EATT bearers</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>characteristic descriptor handle </dd></dl>

</div>
</div>
<a id="ga83db0a97904230b45db1025f1d89d3ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga83db0a97904230b45db1025f1d89d3ec">&#9670;&nbsp;</a></span>wiced_bt_gatt_eatt_reconfigure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_gatt_eatt_reconfigure </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf">wiced_bt_gatt_eatt_conn_id_list</a>&#160;</td>
          <td class="paramname"><em>conn_id_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>num_bearers</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt__gatt.html#gaccfa49f84e56ea41ab53e943e2e5acc6">wiced_bt_eatt_drbs</a>&#160;</td>
          <td class="paramname"><em>ppDRBs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>API the reconfigure the enhanced gatt channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">conn_id_list</td><td>: <a class="el" href="group__bt__types.html#gabd4bfdaba72729ec61cde921be081daf" title="list of EATT connection id&#39;s">wiced_bt_gatt_eatt_conn_id_list</a> to be reconfigured </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num_bearers</td><td>: Number of bearers in the conn_ids list </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mtu</td><td>: New MTU (Maximum Transmission Unit) value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mps</td><td>: New MPS (Maximum Protocol Size) value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ppDRBs</td><td>: New pointers to the DRBs, each of size MTU for each of bearer in the conn_id_list</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310" title="AIROC result.">wiced_result_t</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
